package com.buaa.utility.services;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public abstract class DBService {
	public final static int FLAG_IS_MYSQL = 1000;
	
	public final static String BEAN_NAME = "_org_bussiness_services_dbservice_";
	public abstract List<Map<String,String>> query(String sql) throws SQLException;
	public abstract boolean update(String sql);
	public abstract int getFlag();
}
